package cn.zxcoder.entity.SystemManage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author zx
 * @since 2023-05-12
 */
@TableName("sys_variable")
@ApiModel(value = "Variable对象", description = "系统环境变量")
@Data
public class Variable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "var_description")
    @ApiModelProperty("变量描述")
    private String varDescription;

    @TableField(value = "var_name")
    @ApiModelProperty("变量名称")
    private String varName;

    @TableField(value = "var_path")
    @ApiModelProperty("变量地址")
    private String varPath;

    @ApiModelProperty("修改时间")
    private Date editTime;

    @ApiModelProperty("修改人")
    private String editUser;





    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getVarDescription() {
        return varDescription;
    }

    public void setVarDescription(String varDescription) {
        this.varDescription = varDescription;
    }
    public String getVarName() {
        return varName;
    }

    public void setVarName(String varName) {
        this.varName = varName;
    }
    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }
    public String getEditUser() {
        return editUser;
    }

    public void setEditUser(String editUser) {
        this.editUser = editUser;
    }

    @Override
    public String toString() {
        return "Variable{" +
            "id=" + id +
            ", varDescription=" + varDescription +
            ", varName=" + varName +
            ", editTime=" + editTime +
            ", editUser=" + editUser +
        "}";
    }
}
